package com.umbr3lla.main.state.cards.sets.base.characters;

import com.umbr3lla.main.state.GameState;
import com.umbr3lla.main.state.cards.ItemCard;
import com.umbr3lla.main.state.cards.PlayerCard;
import com.umbr3lla.main.state.cards.mansion.EffectMansionCard;

public class ChrisRedfield extends PlayerCard
{

	public ChrisRedfield() 
	{
		super("ch-008", 120, (byte)0, (byte)4, false, true);
	}

	//--------------------------------------------------------------
	
	public EFFECT_RESPONSE applyLevel1Decoration() {
		//do nothing wait for card to be played
		return EFFECT_RESPONSE.NA;
	}

	public EFFECT_RESPONSE applyLevel2Decoration() 
	{
		if(GameState.getGameState().getCurrentPlayer().decorations >= this.level2DecorationCost)
		{
			//TODO
			
			return EFFECT_RESPONSE.CAN_PLAY;
		}
		else
			return EFFECT_RESPONSE.NOT_DECORATED;
	}

	public boolean playItem(ItemCard c) {
		return false; //cant heal
	}

	public boolean playMansionItem(EffectMansionCard c) {
		
		if(c.getType() == CARD_TYPES.TOKEN)
		{
			c.playCardFromHand();
			return true;
		}
		else
			return false;
	}

	

}
